package com.sky.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.Category;
import com.sky.entity.ShoppingCart;
import com.sky.result.Result;

import java.util.List;

/**
 * @BelongsProject: sky-take-out
 * @Author: XieMingHui
 * @CreateTime: 2023-11-27  18:18
 * @Description: 购物车数据处理层接口类
 * @Version: 1.0
 */
public interface IShoppingCarService extends IService<ShoppingCart> {
    Result<String> addCar(ShoppingCartDTO shoppingCartDTO);

    Result<List<ShoppingCart>> findCar();

    Result<String> subCar(ShoppingCartDTO shoppingCartDTO);

    Result<String> cleanCar();
}
